home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
src
/
demos
/
GL
/
README
< prev
Wrap
Text File
|
1994-08-01
|
3KB
|
86 lines
------------------------------------------------------------
Explanation of the contents of ~4Dgifts/toolbox/src/demos/GL
------------------------------------------------------------
This subtree contains selected source code for the following 16 GL
demo programs:
atlantis
whales, dolphins, sharks swimming in the ocean.
bounce
Shows off local light sources, and is an example of how
to do GL lighting.
buttonfly
An example of how to make a program run on ALL machines
(even 8-bit PI's). Also shows off some interesting
matrix transformations, and the use of POPEN(3S).
closeup
image magnifier implementing x & y zoom with readsource()
via the zbuffer and rect- zoom()/copy()
curve
A good example of wireframe curves, colorindex
depthcueing, and using the font manager.
demograph
A good example of a program that runs well even on 8-bit
PIs, but still does RGB lighting if available.
dragon
Some good dithering code is hidden in this demo.
flight
the classic SGI flight demo now swankified in a single
version. Uses libgobj. Note that for Iris machines
running >= 4.0.5G Irix, you will want to re-compile
this withOUT the "-DNO_MS" flag to take full advantage
of all the swankness.
flip
An example of multiple light sources, materials, and
models.
ideas
designed to show off real-time animation with moving lights
libdemo
buttonfly, flip, and snurb all use functionality defined
in this dir.
libgobj
flight uses this library.
logo
A simple example of GL lighting and matrix transformations.
newave
A good example of drawing things in several modes (wireframe,
colorindex, flat-shaded, gouraud shaded, anti-aliased,
depthcueud).
newton
Newton is a real-time simulation of an elastic body such
as Jello.
rotimg
A straightforward example of drawing triangle meshes and
rotating in 3D.
snoop
screen magnify, reports on the screen under the mouse pointer.
a good example of pixel reading with lrect- read/write/copy()
and readsource().
snurb
A good example of simple NURBS surfaces. No trimming or
basis or knot vector changes, but if you understand all
that stuff you probably don't need example source code
anyway. WARNING: the "Edit Tool" feature does not
currently work on an IRIS Indigo machine running IRIX 4.0.